package org.gzc.dao;

import org.gzc.pojo.Notice;

import java.util.List;
import java.util.Map;

public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);

    /**
     * 分页查询
     *
     * @param param
     * @return
     */
    List<Notice> selectNoticeByPaging(Map<String, Object> param);

    int selectTotalNotice();
}